<h1>Złóż wniosek o konto</h1>
<?php echo form_open($this->uri->uri_string(), 'class="form-horizontal" autocomplete="off"'); ?>
    <div class="control-group<?php if (form_error('register_name')): ?> error<?php endif; ?>">
		<label for="register_name" class="control-label">Imię</label>
		<div class="controls">
			<input type="text" id="register_name" name="register_name" value="<?php echo set_value('register_name'); ?>" />
			<?php if (form_error('register_name')): ?><span class="help-inline"><?php echo form_error('register_name'); ?></span><?php endif; ?>
		</div>
    </div>

	<div class="control-group<?php if (form_error('register_password')): ?> error<?php endif; ?>">
		<label for="register_password" class="control-label">Hasło</label>
		<div class="controls">
			<input type="password" id="register_password" name="register_password" value="" />
			<?php if (form_error('register_password')): ?><span class="help-inline"><?php echo form_error('register_password'); ?></span><?php endif; ?>
		</div>
    </div>

	<div class="control-group<?php if (form_error('register_password_conf')): ?> error<?php endif; ?>">
		<label for="register_password_conf" class="control-label">Potwierdź Hasło</label>
		<div class="controls">
			<input type="password" id="register_password_conf" name="register_password_conf" value="" />
			<?php if (form_error('register_password_conf')): ?><span class="help-inline"><?php echo form_error('register_password_conf'); ?></span><?php endif; ?>
		</div>
    </div>

	<div class="control-group">
		<label for="register_submit" class="control-label">&nbsp;</label>
		<div class="controls">
			<input type="submit" class="btn" name="register_submit" id="submit" value="Zarejestruj" />
		</div>
    </div>
<?php echo form_close(); ?>
